package net.ddrjw.soft.entity;

/**
 * 日记实体类
 * 
 * @author SuperK
 */
public class Diary {
	// 日记ID
	private int did; // 日记ID
	private User uid; // 作者ID
	private String dtitle; // 日记标题
	private String dcontent; // 日记内容
	private DiaryType dtype; // 日记类型
	private String lastmodify; // 最后编辑时间

	public int getDid() {
		return did;
	}

	public void setDid(int did) {
		this.did = did;
	}

	public User getUid() {
		return uid;
	}

	public void setUid(User uid) {
		this.uid = uid;
	}

	public String getDtitle() {
		return dtitle;
	}

	public void setDtitle(String dtitle) {
		this.dtitle = dtitle;
	}

	public String getDcontent() {
		return dcontent;
	}

	public void setDcontent(String dcontent) {
		this.dcontent = dcontent;
	}

	public DiaryType getDtype() {
		return dtype;
	}

	public void setDtype(DiaryType dtype) {
		this.dtype = dtype;
	}

	public String getLastmodify() {
		return lastmodify;
	}

	public void setLastmodify(String lastmodify) {
		this.lastmodify = lastmodify;
	}
}
